/*
 * Singularity Engine
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */

/**
 * 
 */
package org.singularity.io;



/**
 * @author vjache
 *
 */
public class DMEImpl<T> extends AbstractDME<T> {

	private final Code _code;

	/**
	 * @param aValue
	 */
	public DMEImpl(DME.Code aCode, T aValue) {
		super(aValue);
		_code = aCode;
	}

	/* (non-Javadoc)
	 * @see org.singularity.mapred.DME#getCode()
	 */
	@Override
	public DME.Code getCode() {
		return _code;
	}

}
